<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    const obj = {
      入职日期: 44266,
      姓名: '宋轶',
      工号: 888088,
      手机号: 14567889887,
      转正日期: 44450
    }

    const zh2EnKey = {
      入职日期: 'timeOfEntry',
      姓名: 'username',
      工号: 'workNumber',
      手机号: 'mobile',
      转正日期: 'correntionTime'
    }
    const item = {}
    Object.keys(obj).forEach(key => {
      const enKey = zh2EnKey[key]
      // console.log(enKey)
      item[enKey] = obj[key]
    })
    console.log(item)
  </script>
</html>
